* {
    margin: 0;
    padding: 0;
}

html{
    width: 100%;
    -ms-overflow-style:none;
    overflow:-moz-scrollbars-none;
}

body {
    width: 100%;
    font-family: 微软雅黑;
}

a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
}

a:hover{
    color: #3399cc;
}

.talk-container{
    margin: 0;
    margin-top: 100px;
    padding-left: 40px;
}

.talk-content{
    float: none;
    margin: 0 auto;
    height: 570px;
    border: 1px solid #898989;
    border-radius: 3px;
    padding: 0;
    position: relative;
}

.talk-content > input{
    display: none;
}

.talk-choose + label{
    background: #FFFFFF;
    z-index: 1;
}

.talk-choose:checked + label{
    background: #0068b7;
    z-index: 2;
}

#talk-choose-dialogue{
    position: absolute;
    left: -42px;
    top: -1px;
}

#talk-choose-friends{
    position: absolute;
    left: -42px;
    top: 55px;
}

.talk-choose-label{
    width: 42px;
    height: 58px;
    border: 1px solid #898989;
    border-radius: 3px;
    text-align: center;
    margin: 0;
    cursor: pointer;
    padding: 15px 0;
}

.dialogue-content, .friends-content{
    height: 100%;
    margin: 0;
    position: relative;
}

.friends-content{
    position: absolute;
    bottom: 0;
}

.talk-list{
    width: 200px;
    height: 100%;
    border-right: 1px solid #898989;
    overflow: auto;
    padding: 0;
    position: absolute;
    z-index: 2;
}

.item-choose{
    display: none;
}

.item-choose:checked + label{
    background: #e7f6f7;
}

.talk-item{
    width: 100%;
    height: 68px;
    margin: 0;
    padding: 14px 20px;
    border-bottom: 1px solid #898989;
    cursor: pointer;
}

.talk-item:hover{
    background: #e7f6f7;
}

.talk-item-img{
    width: 38px;
    height: 38px;
    margin-right: 10px;
    vertical-align: inherit;
}

.talk-item-content{
    width: 105px;
    display: inline-block;
}

.talk-item-user{
    height: 38px;
    font-size: 16px;
    line-height: 38px;
    font-weight: 500;
    color: #004986;
    display: inline-block;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}

/*.talk-item-time{*/
    /*font-size: 12px;*/
    /*line-height: 20px;*/
    /*color: #898989;*/
    /*display: inline-block;*/
    /*float: right;*/
/*}*/

/*.talk-item-text{*/
    /*width: 105px;*/
    /*height: 18px;*/
    /*font-size: 12px;*/
    /*line-height: 18px;*/
    /*color: #898989;*/
    /*overflow: hidden;*/
    /*text-overflow:ellipsis;*/
    /*white-space: nowrap;*/
/*}*/

.talk-detail{
    height: 100%;
    padding: 0;
    padding-left: 210px;
}

.talk-detail-content{
    width: 100%;
    height: 400px;
    overflow: scroll;
    padding: 0 20px;
    padding-top: 20px;
    position: relative;
}

.talk-detail-item{
    width: 100%;
    height: auto;
    padding-bottom: 15px;
}

.detail-img{
    position: absolute;
}

.detail-content{
    display: inline-block;
    margin-left: 55px;
}

.detail-item-text{
    font-size: 16px;
    line-height: 20px;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #004986;
    border-radius: 0 5px 5px 15px;
    box-shadow: 1px 1px 5px #898989;
}

/*.detail-item-text:before, .detail-item-text:after{*/
    /*border: solid transparent;*/
    /*content: ' ';*/
    /*height: 0;*/
    /*width: 0;*/
    /*position: absolute;*/
/*}*/

/*.detail-item-text:before{*/
    /*left: -16px;*/
    /*border-width: 8px;*/
    /*border-right-color: #004986;*/
    /*top: 10px;*/
/*}*/

/*.detail-item-text:after{*/
    /*left: -14px;*/
    /*border-width: 7px;*/
    /*border-right-color: #FFFFFF;*/
    /*top: 11px;*/
/*}*/

.detail-item-time{
    color: #898989;
    font-size: 12px;
}

.talk-reply-content{
    height: 155px;
    padding: 20px;
}

.talk-reply-text{
    width: 100%;
    height: 70px;
    border: 1px solid #004986;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 25px;
    vertical-align: top;
    word-break: break-all;
    resize: none;
    outline: none;
}

.talk-reply-send{
    width: 70px;
    height: 32px;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    border: none;
    border-radius: 3px;
    background: #3399cc;
    outline: none;
    float: right;
}

.talk-send > img{
    right: 15px;
}

.talk-send{
    overflow: hidden;
}

.talk-send .detail-content{
    margin-left: 0;
    margin-right: 55px;
    float: right;
}

.talk-send .detail-content .detail-item-text{
    border: none;
    border-radius: 5px 0 15px 5px;
    background: #448aca;
    color: #FFFFFF;
}

/*.talk-send .detail-content .detail-item-text:before{*/
    /*left: 100%;*/
    /*border-width: 8px;*/
    /*border-right: none;*/
    /*border-left-color: #448aca;*/
    /*top: 10px;*/
/*}*/

/*.talk-send .detail-content .detail-item-text:after{*/
    /*left: 100%;*/
    /*border-width: 7px;*/
    /*border-right: none;*/
    /*border-left-color: #448aca;*/
    /*top: 11px;*/
/*}*/

.talk-send .detail-content .detail-item-time{
    text-align: right;
}

.talk-list::-webkit-scrollbar, .talk-detail-content::-webkit-scrollbar,
.talk-reply-text::-webkit-scrollbar{
    width: 0;
}